<template>
  <div>
    phone
    <h1>我是测试跨域的</h1>
  </div>
</template>

<script>
import {homelink} from "@/api/homeapi.js"
export default {
    mounted(){
       homelink("/api/ceshi","get").then((ok)=>{
           console.log(ok)
       }) 
    }
}
</script>

<style>

</style>